package com.atmc.mapper;

import com.atmc.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {
    User selectOne(@Param("userName") String userName);
    User selectOneById(@Param("userId")Long user_id);
    int insertOne(User user);
    int updateOne(User user);
}
